﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IntroMVC4.Models.Domain;

namespace IntroMVC4.Models.Interface
{
    public interface IProduct
    {
        IList<ProductD> GetAllProducts();
        IList<ProductD> GetFilterProducts(string productName);
        ProductSKU GetProductBySKU(string sku);
        AttributeProductD GetAttributeProductByProductId(long productId);
        IEnumerable<PrincipalCategory> GetPrincipalCategories();
        IEnumerable<ProductCategory> GetProductCategories();
        List<IntroMVC4.Models.Attribute> GetListAttributeByProductCatagory(int ProductCatagoryId);
        bool UpdateProduct(string sku, string gtin, string name, int principalCategoryId, bool isActive, string productIds, string attParams);
        bool AddProduct(string sku, string gtin, string name, int principalCategoryId, bool isActive, int productCatalogId);


        IList<ListInputFrom> GetAllInputForms();
    }
}
